home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1999 May: Tool Chest / Developer CD Series Tool Chest (Apple Computer)(May 1999).iso / Tool Chest / Devices / NuBus⁄Slot Manager / NuBusTester / nbTestIntf.p < prev    next >
Encoding:
Text File  |  1992-08-14  |  577 b   |  26 lines  |  [TEXT/MPS ]

  1. {[j=15-/40]}
  2. {$R-}
  3.  
  4. UNIT nbTestIntf;
  5.  
  6. {    This unit determines whether or not this machine can deal with NuBus cards
  7. that put their declaration ROM in the high part of the card’s 16M address
  8. space.
  9.  
  10.     To use, simply call CheckNuBus. If the card won’t work for some reason, an
  11. appropriate alert is displayed for the user, and CheckNuBus returns FALSE. If
  12. the card will work, then CheckNuBus returns TRUE.
  13.  
  14.     Link your application with nbTestLib.o. }
  15.  
  16.     INTERFACE
  17.  
  18.         USES
  19.             {$PUSH}
  20.             Memtypes, Quickdraw, OSIntf, ToolIntf, PackIntf;
  21.             {$POP}
  22.  
  23.         FUNCTION CheckNuBus: Boolean;
  24.  
  25. END.
  26.